Skip to content

fix(deps): upgrade eth-json-rpc-filters, eth-json-rpc-engine#9274

Closed
legobeat wants to merge 10 commits intomainfrom
deps-eth-json-rpc-filters
Closed

fix(deps): upgrade eth-json-rpc-filters, eth-json-rpc-engine#9274
legobeat wants to merge 10 commits intomainfrom
deps-eth-json-rpc-filters

Conversation

@legobeat
Copy link
Contributor

@legobeat legobeat commented Apr 17, 2024

Description

The runtime dependencies eth-json-rpc-filters and json-rpc-engine are both deprecated. This replaces them with their successors @metamask/eth-json-rpc-filters and @metamask/json-rpc-engine, respectively.

Related issues

Manual testing steps

n/a

Screenshots/Recordings

Before

n/a

After

n/a

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@github-actions

This comment was marked as off-topic.

@legobeat legobeat changed the title Deps eth json rpc filters fix(deps): upgrade eth-json-rpc-filters, eth-json-rpc-engine Apr 17, 2024
@socket-security
Copy link

socket-security bot commented Apr 17, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@legobeat legobeat added dependencies Pull requests that update a dependency file team-application-security Application security team labels Apr 17, 2024
@legobeat legobeat force-pushed the deps-eth-json-rpc-filters branch from b3da306 to 27ade1b Compare April 17, 2024 04:30
@legobeat
Copy link
Contributor Author

@SocketSecurity ignore npm/@metamask/[email protected]

@socket-security
Copy link

socket-security bot commented Apr 17, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/[email protected] None 0 24.6 kB lgbot

🚮 Removed packages: npm/[email protected]

View full report↗︎

@legobeat legobeat force-pushed the deps-eth-json-rpc-filters branch 4 times, most recently from 53c8a35 to 69be175 Compare April 18, 2024 21:09
@github-actions

This comment was marked as outdated.

@legobeat legobeat force-pushed the deps-eth-json-rpc-filters branch 3 times, most recently from a443778 to 9b7463f Compare April 18, 2024 22:03
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@legobeat
Copy link
Contributor Author

@legobeat Still working on this? It looks like based on the CI failures that we might need to bump transaction-controller?

Recently, no. And yes, looks like that is related. Would you know which version of @metamask/transaction-controller would unlock this?

@github-actions

This comment was marked as outdated.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 80.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 47.00%. Comparing base (678c2f6) to head (9c26f2c).
Report is 12 commits behind head on main.

Files Patch % Lines
app/core/WalletConnect/WalletConnectV2.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9274      +/-   ##
==========================================
+ Coverage   46.66%   47.00%   +0.34%     
==========================================
  Files        1343     1353      +10     
  Lines       32805    33120     +315     
  Branches     3527     3557      +30     
==========================================
+ Hits        15307    15569     +262     
- Misses      16554    16602      +48     
- Partials      944      949       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 11, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 4a914af
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/bcc52743-ae03-4059-a97b-abd804453cc0

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@legobeat
Copy link
Contributor Author

legobeat commented Jun 11, 2024

@legobeat Still working on this? It looks like based on the CI failures that we might need to bump transaction-controller?

Recently, no. And yes, looks like that is related. Would you know which version of @metamask/transaction-controller would unlock this?

Looking at it now, the mismatching types due to mismatching versions look like they should be resolved by upgrading @metamask/transaction-controller from ^13 to ^15, which implies a bump of @metamask/network-controller to ^15 and its @metamask/json-rpc-middleware from ^11 to ^12.

@legobeat
Copy link
Contributor Author

The failing Check for js or jsx file being added rule seems to FP on changed files and interpreting them as added.

@legobeat

This comment was marked as resolved.

@github-actions
Copy link
Contributor

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 8920824
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/53b4eec6-1e48-4c84-8fd7-aaa5dcf16513

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@sonarqubecloud
Copy link

@metamaskbot
Copy link
Collaborator

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 8920824
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/53b4eec6-1e48-4c84-8fd7-aaa5dcf16513

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

3 similar comments
@metamaskbot
Copy link
Collaborator

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 8920824
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/53b4eec6-1e48-4c84-8fd7-aaa5dcf16513

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@metamaskbot
Copy link
Collaborator

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 8920824
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/53b4eec6-1e48-4c84-8fd7-aaa5dcf16513

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@metamaskbot
Copy link
Collaborator

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 8920824
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/53b4eec6-1e48-4c84-8fd7-aaa5dcf16513

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@legobeat
Copy link
Contributor Author

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2025

This PR has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file DO-NOT-MERGE Pull requests that should not be merged stale Issues that have not had activity in the last 90 days team-application-security Application security team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants